package com.eatme.web.activiti.delegate;

import org.activiti.engine.delegate.DelegateExecution;
import org.activiti.engine.delegate.JavaDelegate;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class ServiceGetVariable implements JavaDelegate {
    private static final Logger LOG = LoggerFactory.getLogger(ServiceGetVariable.class);

    @Override
    public void execute(DelegateExecution execution) {

        execution.getVariable("aa");
        LOG.info((String) execution.getVariable("aa"));

    }
}
